<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<% String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; %> 
<html>
<jsp:include page="../head.jsp"></jsp:include>
<body>
<br/><br/><br/><a href='../TbProductPriceMiddleServlet?method=showadd'>添加</a><br/>
<table>
<tr>
    <td>产品编号</td>
    <td>公司编号</td>
    <td>价格编号</td>
    <td>产品信用评级</td>
    <td>用户编号</td>
    <td>修改</td>
    <td>删除</td>
</tr>
<c:forEach items="${sessionScope.tbProductPriceMiddleList==null?'':sessionScope.tbProductPriceMiddleList}" var="tbProductPriceMiddle" varStatus="status">
<tr>
    <td>${tbProductPriceMiddle.productId}</td>
    <td>${tbProductPriceMiddle.companyId}</td>
    <td>${tbProductPriceMiddle.priceId}</td>
    <td>${tbProductPriceMiddle.creditRatingId}</td>
    <td>${tbProductPriceMiddle.userId}</td>
    <td><a href='../TbProductPriceMiddleServlet?method=listById&productPriceMiddleId=${tbProductPriceMiddle.productPriceMiddleId}'>修改</a></td>
    <td><a href='' onclick='if(confirm("确定要删除?"))window.location="../TbProductPriceMiddleServlet?method=del&delIds=${tbProductPriceMiddle.productPriceMiddleId}'>删除</a></td>
</tr>
</c:forEach>
</table>
<jsp:include page="../foot.jsp"></jsp:include>
</body></html>